import request from '@/utils/request'

export function GetOnePicture() {
  return request({
    url: '/win/picture/',
    method: 'get',
    params: {
      first: true
    }
  })
}

export function GetPicture() {
  return request({
    url: '/win/picture/',
    method: 'get'
  })
}
export function UploadPicture(data) {
  return request({
    url: '/win/picture/',
    method: 'get',
    params: data
  })
}

export function DeletePicture(data) {
  return request({
    url: '/win/picture/',
    method: 'delete',
    params: data
  })
}

export function GetLastLeaderCode() {
  return request({
    url: '/win/leader-code/',
    method: 'get'
  })
}
